package com.sakura.java8.lambda.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Author Sakura
 * @Date 2022/11/7 11:47
 * @Version 1.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
public class Employee {

    private int id;
    private String name;
    private int age;
    private double salary;

    public Employee(Integer id) {
        this.id=id;
    }

    public Employee(String name) {
        this.name = name;
    }

    public String show( ) {
        return "我草！！！！！！！！！！！";
    }
}
